﻿using Entity;

/// <summary>
///     显示模式
/// </summary>
public enum eMode
{
    /// <summary>
    ///     流程
    /// </summary>
    Flow,

    /// <summary>
    ///     审批详情
    /// </summary>
    Detail,

    /// <summary>
    ///     登记
    /// </summary>
    Add
}

namespace Web.Class
{
    /// <summary>
    ///     验证结果
    /// </summary>
    public class ValidateRS
    {
        /// <summary>
        ///     是否通过
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        ///     消息
        /// </summary>
        public string Msg { get; set; }
    }


    /// <summary>
    ///     来函操作操作(含提交验证等操作)
    /// </summary>
    public interface IUCLHOperate
    {
        /// <summary>
        ///     配置控件
        /// </summary>
        void InitControl();

        /// <summary>
        ///     验证数据
        /// </summary>
        ValidateRS Validate();

        /// <summary>
        ///     清除数据
        /// </summary>
        void ClearInfo();

        /// <summary>
        ///     根据来函ID与编号加载数据
        /// </summary>
        void LoadInfo(YS_LH_LAIHANXX laihanxx);
    }
}